﻿<%@ Page Language="C#" MasterPageFile="~/Administrator/MasterPage.master" AutoEventWireup="true" CodeFile="sanpham_suatinhtrang.aspx.cs" Inherits="Administrator_Default2"  %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div id="menu_left">
        <li><a href="sanpham.aspx">Danh sách sản phẩm</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=close">Sản phẩm chưa bán</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=open">Sản phẩm đang bán</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=chayhang">Sản phẩm cháy hàng</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=outofdate">Sản phẩm hết hạn</a></li>
        <li><a href="sanpham_tinhtrang.aspx?tinhtrang=cancel">Sản phẩm bị hủy</a></li>
</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <div>
<h1 style="font-family:Arial;font-size:large;color:Blue">
    <asp:Literal ID="Literal1" runat="server"></asp:Literal></h1>

    <font size="-1">
    <table style="border:1px solid black" cellpadding="0" cellspacing="0" width="100%">
    <tr>
        <td style="background-color:Silver;border:1px solid black;width:5%;text-align:center">
            STT
        </td>
        <td style="border:1px solid black">
            <asp:Literal ID="lit_stt" runat="server"></asp:Literal>
        </td>
        
    </tr>
    <tr>
        <td style="background-color:Silver;border:1px solid black;width:10%;text-align:center">
            Mã sản phẩm
        </td>
        <td style="border:1px solid black">
            <asp:Literal ID="lit_masp" runat="server"></asp:Literal>
        </td>
        
    </tr>
    <tr>
        <td style="background-color:Silver;border:1px solid black;text-align:center">
            Tên sản phẩm
        </td>
        <td style="border:1px solid black">
            <asp:HyperLink ID="hyp_tensp" runat="server"><%#Eval("TenSP")%></asp:HyperLink>
        </td>
       
    </tr>
    <tr>
        <td style="background-color:Silver;border:1px solid black;width:5%;text-align:center">
            Tình trạng
        </td>
         <td style="border:1px solid black">
            <asp:DropDownList ID="ddl_tt" runat="server">
                <asp:ListItem>Hủy</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>   
    <tr>
        <td style="background-color:Silver;border:1px solid black;width:5%;text-align:center">
        </td>
         <td style="border:1px solid black">
            <asp:Button ID="bt_ok" Text="Lưu thay đổi" runat="server" 
                 onclick="bt_ok_Click" />
        </td>
    </tr>    
    </table>
    </font>
</div>
<div class="vide"></div>
</asp:Content>

